package ide;

import edu.umd.cs.piccolo.event.PDragEventHandler;
import edu.umd.cs.piccolox.PFrame;

public class Piccolo2DFrame extends PFrame{
	private static final long serialVersionUID = 3012246071565094455L;
	private Piccolo2DCanvas p2Canvas = new Piccolo2DCanvas();
	
	public Piccolo2DFrame()
	{
		super();
		this.add(p2Canvas);
		this.getCanvas().setPanEventHandler(null);
		this.getCanvas().addInputEventListener(new PDragEventHandler());
	}
}
